﻿using AutoMapper;
using Curry.Forum.Command.Domain.Core;
using Curry.Forum.Facade.Core.Request;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Curry.Forum.Command.Handler.AutoMapper.Map
{
    public class MapRequest : IMapRequest
    {
        public Article ArticleMap(ArticleInfoRq info)
        {
            return Mapper.Map<Article>(info);
        }

        //public List<Person> PersonListMap(List<PersonRq> info)
        //{
        //    return Mapper.Map<List<Person>>(info);
        //}
    }
}
